package com.fastCms.business.mall.pojo.vo;

import com.fastCms.business.frame.config.BigDecimalValueFilter;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: <br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年5月21日 下午3:46:27 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@ApiModel(value = "ProductClassRelationVO对象", description = "商品分类关系对象")
@Data
public class ProductClassRelationVO {

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "组织编码")
    private String organizeCode;

    @ApiModelProperty(value = "分类id")
    private String classId;

    @ApiModelProperty(value = "商品主键")
    private String productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品代码")
    private String productCode;

    @ApiModelProperty(value = "商品主图")
    private String mainImageUrl;

    @ApiModelProperty(value = "产品单价")
    @JsonSerialize(using = BigDecimalValueFilter.class)
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "备注")
    private String remark;

}
